<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="../../common/base.jsp"%>
<%
	response.setCharacterEncoding("utf-8");
	
%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Insert title here</title>
<link href="${path }/dist/css/bootstrap.css" rel="stylesheet">
<link href="${path }/dist/css/bootstrap-overrides.css" rel="stylesheet">

<!-- Button -->
<link href="${path }/dist/css/compiled/elements.css" rel="stylesheet">
<!-- icon -->
<link rel="stylesheet" type="text/css"
	href="${path }/dist/css/font-awesome.css">
<!-- this -->
<link rel="stylesheet" type="text/css" href="${path }/dist/css/app.css">
<!-- 右键菜单插件 -->
<link rel="stylesheet" type="text/css" href="${path }/dist/css/smartMenu.css">
<link href="${path }/dist/css/bootstrap-datetimepicker.min.css"
	rel="stylesheet">
<%--时间日期工具 --%>
<link rel="stylesheet" type="text/css" href="${path }/back/ifrom.css">
<script src="${path }/dist/js/jquery.min.js"></script>
<script src="${path }/dist/js/bootstrap.min.js"></script>
<script src='${path }/dist/js/jquery-smartMenu.js'></script>
<script src="${path }/dist/js/bootstrap-datetimepicker.min.js"></script>
<script src="${path }/dist/js/bootstrap-datetimepicker.zh-CN.js"></script>
<%-- <script src='${path }/dist/js/stickUp.js'></script>--%>

<style>
#pad-wrapper h3 {
	font-family: "黑体";
}
table tr>th{
	 text-align: center;
	 padding-bottom: 0px !important;
	 vertical-align: middle !important;
}
</style>
</head>
<body>
	<div id="pad-wrapper">
		<div class="row head">
			<div class="col-md-3">
				<h3>单据查看<small><fmt:formatDate value="${date}" pattern="yyyy年MM月"/></small></h3>
			</div>
		</div>
		<hr>
		
		<div class="row" >
		<table class="table table-bordered">

				<tr>
					<th class="col-md-1" rowspan="2">部门名称</th>
					<th  colspan="2">月初</th>
					<th  colspan="2">增加</th>
					<th  colspan="2">减少</th>
					<th  colspan="2">月末</th>
				</tr>
				<tr>
					<th class="col-md-1">数量</th>
					<th class="col-md-1">金额</th>
					
					<th class="col-md-1">数量</th>
					<th class="col-md-1">金额</th>
					
					<th class="col-md-1">数量</th>
					<th class="col-md-1">金额</th>
					
					<th class="col-md-1">数量</th>
					<th class="col-md-1">金额</th>
					
				</tr>

			<tbody>
			</tbody>
		</table>
	</div>
	
	<script type="text/javascript">
		$(function(){
			$("#myTab a").click(function(e){
				e.preventDefault();
				$("#form_iframe").attr("src","${path }/back/assetsPD!report_"+$(this).attr("href").substring(1));
			});
		})
		//时间日期
		$(".form_datetime").datetimepicker({
			format : 'yyyy-mm',
			language : 'zh-CN',
			weekStart : 1,
			todayBtn : 1,
			autoclose : 1,
			todayHighlight : 1,
			startView : 2,
			forceParse : 0,
			showMeridian : 1,
			minView : 2,
			pickerPosition : "bottom-left"
		});
		function onBodyDowndept(event) {
			if (!($(event.target).parents("#menuContent").length > 0)) {
				hidedepttree();
			}
		}

		
	</script>
	
	<%
	String s=request.getParameter("tip");
	
		if(s!=null){
			s=new String(s.getBytes("iso-8859-1"),"UTF-8");
	%>
		<script>
			alert("<%=s%>");
		</script>
	<%} %>
	<c:if test="${tip!=null }">
	<script>
			alert("${tip}");
		</script>
	</c:if>
</body>
</html>